#ifndef SPECIALGB_H
#define SPECIALGB_H

#include <QWidget>
#include <QPushButton>
#include <QUdpSocket>
#include <QListWidget>
#include <QStackedWidget>
#include <QLabel>

class SpecialGB : public QWidget
{
    Q_OBJECT
public:
    explicit SpecialGB(QWidget *parent = 0);

    QPushButton *TemporaryStop;     //临时停车
    QPushButton *FailureStop;       //故障停车
    QPushButton *PeekGuide;         //高峰引导
    QPushButton *HardBrake;         //紧急制动
    QPushButton *TerminalForecast;  //终点预报
    QPushButton *TerminalClear;     //终点清客
    QPushButton *FailureClear;      //故障清客
    QPushButton *RescueClear;       //救援清客
    QPushButton *RescueWait;        //救援安抚
    QPushButton *NextNoneStop;      //前站不停
    QPushButton *FireIn;            //车内火情
    QPushButton *RemoveFrom;        //疏散广播

    //    QListWidget *SpecialGBList;
    //    QStackedWidget *SpecialGBWidget;

    QPushButton *LoopNumberIncrease;
    QPushButton *LoopNumberDecrease;

    QLabel *LoopNumber;
    QLabel *Loop;

    QPushButton *OK;
    QPushButton *Cancel;
    QPushButton *playstopflag;

private:
    QPalette background;

signals:
    void specialGbUISignalforUp();
    void specialGbUISignalforDown();

private slots:

    void IncreaseLoopNumber();
    void DecreaseLoopNumber();
};

#endif  // SPECIALGB_H
